﻿

<#include "/code/front/include/head.ftl" />
<#assign ownerInfo = dq.getDataByName('个人资料')!{} />
<#assign experience = dq.getDataByName('工作经历',{'limit':1})![] />
<#assign education = dq.getDataByName('教育经历',{'limit':1})![] />
<#assign accountInfo = dq.getDataByName('社交账号',{'limit':2})![] />

    <main class="main-aboutpage">

        <#include "/code/front/include/header.ftl">

        <!-- About -->
        <section class="about-area">
            <div class="container">
                <div class="d-flex about-me-wrap align-items-start gap-24">
                    <div data-aos="zoom-in">
                        <div class="about-image-box shadow-box">
                            <img src="assets/images/bg1.png" alt="BG" class="bg-img">
                            <div class="image-inner">
                                <img src="${ownerInfo.avatar!}" alt="About Me">
                            </div>
                        </div>
                    </div>

                    <div class="about-details" data-aos="zoom-in">
                        <h1 class="section-heading" data-aos="fade-up"><img src="assets/images/star-2.png" alt="Star"> 关于我 <img src="assets/images/star-2.png" alt="Star"></h1>
                        <div class="about-details-inner shadow-box">
                            <img src="assets/images/icon2.png" alt="Star">
                            <h1>${ownerInfo.owner_name!}</h1>
                            <p>${ownerInfo.self_introduction!}</p>
                        </div>

                    </div>
                </div>

                <div class="row mt-24">
                    <div class="col-md-6" data-aos="zoom-in">
                        <div class="about-edc-exp about-experience shadow-box">
                            <img src="assets/images/bg1.png" alt="BG" class="bg-img">
                            <h3>工作经历</h3>
                            <ul>
                                <#list experience as exper>
                                    <li>
                                        <p class="date">${exper.start_time!} - ${exper.end_time!'至今'}</p>
                                        <h2>${exper.responsibility!}</h2>
                                        <p class="type">${exper.company!}</p>
                                    </li>
                                </#list>
                            </ul>
                        </div>
                    </div>
                    <div class="col-md-6" data-aos="zoom-in">
                        <div class="about-edc-exp about-education shadow-box">
                            <img src="assets/images/bg1.png" alt="BG" class="bg-img">
                            <h3>教育经历</h3>
                            <ul>
                                <#list education as edu>
                                    <li>
                                        <p class="date">${edu.start_time!} - ${edu.end_time!'至今'}</p>
                                        <h2>${edu.responsibility!}</h2>
                                        <p class="type">${edu.company!}</p>
                                    </li>
                                </#list>
                            </ul>
                        </div>
                    </div>
                </div>

                <div class="row mt-24">
                    <div class="col-md-12">
                        <div class="d-flex profile-contact-credentials-wrap gap-24">

                            <div data-aos="zoom-in">
                                <div class="about-profile-box info-box shadow-box h-full">
                                    <img src="assets/images/bg1.png" alt="BG" class="bg-img">
                                    <div class="inner-profile-icons shadow-box">
                                      <#list accountInfo as acc>
                                          <a href="${acc.account!}">
                                              <i class="${acc.icon!}"></i>
                                          </a>
                                      </#list>
                                    </div>
                                    <div class="d-flex align-items-center justify-content-between">
                                        <div class="infos">
                                            <h4>蹲我</h4>
                                            <h1>联系我</h1>
                                        </div>
    
                                        <a href="/contact" class="about-btn">
                                            <img src="assets/images/icon.svg" alt="Button">
                                        </a>
    
                                    </div>
                                </div>
                            </div>

                            <div data-aos="zoom-in" class="flex-1">
                                <div class="about-contact-box info-box shadow-box">
                                    <a class="overlay-link" href="/contact"></a>
                                    <img src="assets/images/bg1.png" alt="BG" class="bg-img">
                                    <img src="assets/images/icon2.png" alt="Icon" class="star-icon">
                                    <h1>期待你的赏识 <br>橄榄枝 <span>马上扔向我~</span></h1>
                                    <a href="/contact" class="about-btn">
                                        <img src="assets/images/icon.svg" alt="Button">
                                    </a>
                                </div>
                            </div>

                            <div data-aos="zoom-in" class="h-full">
                                <div class="about-crenditials-box info-box shadow-box">
                                    <a class="overlay-link" href="/credentials"></a>
                                    <img src="assets/images/bg1.png" alt="BG" class="bg-img">
                                    <img src="assets/images/sign.png" alt="Sign">
                                    <div class="d-flex align-items-center justify-content-between">
                                        <div class="infos">
                                            <h4>更多关于我的</h4>
                                            <h1>技能 & 经验</h1>
                                        </div>
    
                                        <a href="/credentials" class="about-btn">
                                            <img src="assets/images/icon.svg" alt="Button">
                                        </a>
    
                                    </div>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </section>


        <#include "/code/front/include/footer.ftl" />

    </main>
    


</body>
</html>
